﻿using MDT.LifeSewagePlatform.Conmmon;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MDT.LifeSewagePlatform.Entity
{
    [Table("UserTable")]
    public class UserEntity:HandleEntity
    {
        [MaxLength(50)]
        public string UserName { get; set; }
        [MaxLength(50)]
        public string UserPassword { get; set; }
        [MaxLength(50)]
        public string Email { get; set; }
        [MaxLength(20)]
        public string PhoneNumber { get; set; }
        public int RoleID { get; set; }
        public int CompanyID { get; set; }

        public string EmailCode { get; set; }
        public DateTime CodePastTime { get; set; }
        //public int AreaID { get; set; }
        public int CurrentAreaID { get; set; }
    }
}
